package types

type RequestMap struct {
	Parmas string `json:"parmas"`
	Data   string `json:"data"`
}

type PathMap struct {
	Method   string     `json:"method"`
	Path     string     `json:"path"`
	Request  RequestMap `json:"request"`
	Response string     `json:"response"`
	Tags     string     `json:"tags"`
}

// 数据类型转换
var CdDataTyoe map[string]string = map[string]string{
	"integer": "number",
	"number":  "number",
	"string":  "string",
	"array":   "array",
	"object":  "object",
	"boolean": "boolean",
}
